From: Richard M. Stallman Date: Sun, 14 Aug 1994 09:15:39 +0000 (+0000) Subject: (compute_motion): Use WIN's frame, not selected one. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~90519 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=5d83b593d173720310e074cba21a2e834b127103;p=emacs.git (compute_motion): Use WIN's frame, not selected one. --- diff --git a/src/indent.c b/src/indent.c index f1a12fe240c..5e09526e6c8 100644 --- a/src/indent.c +++ b/src/indent.c @@ -579,7 +579,7 @@ compute_motion (from, fromvpos, fromhpos, to, tovpos, tohpos, width, hscroll, ta break; if (hscroll || (truncate_partial_width_windows - && width + 1 < FRAME_WIDTH (selected_frame)) + && width + 1 < FRAME_WIDTH (XFRAME (WINDOW_FRAME (win)))) || !NILP (current_buffer->truncate_lines)) { /* Truncating: skip to newline. */